package com.lr.frame.common.colorful.tool;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

public class SpringContextTool implements ApplicationContextAware  {
	
	public static ApplicationContext applicationContext;
    



	@Override
	public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
		  if(SpringContextTool.applicationContext == null) {
	        	SpringContextTool.applicationContext = applicationContext;
	        }
	}





}
